from model.Hero import Hero
from model.blocks.Block import Block


class Lava(Block):
    step = 0

    def __init__(self, x_position, y_position):
        Block.__init__(self, x_position, y_position)

    def trigger(self):
        Hero.direction = [0, 0, Hero.direction[2]]
        Hero.step = Hero.step % 4

    def update(self):
        pass
